package chixing.day05;

public class MainBoard {
    private String mainName;
    private String mainBoardBrand;
    private float mainBoardPrice;

    public MainBoard(){}

    public MainBoard(String mainName, String mainBoardBrand, float mainBoardPrice) {
        this.mainName = mainName;
        this.mainBoardBrand = mainBoardBrand;
        this.mainBoardPrice = mainBoardPrice;
    }

    public String getMainName() {
        return mainName;
    }

    public void setMainName(String mainName) {
        this.mainName = mainName;
    }

    public String getMainBoardBrand() {
        return mainBoardBrand;
    }

    public void setMainBoardBrand(String mainBoardBrand) {
        this.mainBoardBrand = mainBoardBrand;
    }

    public float getMainBoardPrice() {
        return mainBoardPrice;
    }

    public void setMainBoardPrice(float mainBoardPrice) {
        this.mainBoardPrice = mainBoardPrice;
    }

    @Override
    public String toString() {
        return "MainBoard{" +
                "mainName='" + mainName + '\'' +
                ", mainBoardBrand='" + mainBoardBrand + '\'' +
                ", mainBoardPrice=" + mainBoardPrice +
                '}';
    }
}
